package com.ssd.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ssd.entity.RegionEntity;
import com.ssd.entity.RegionEntity;

import java.util.Map;

public interface RegionService extends IService<RegionEntity> {
     //分页查询商品列表
     Page<Map<String, Object>> getRegionList(int currentPage, int pageSize,String regionName);

     RegionEntity selectRegionById(Long regionId);

     int insertRegion(RegionEntity region);

     int updateRegion(RegionEntity region);

     int deleteRegionByRegionIds(Long[] regionIds);
}
